/*
 * redmicro all Copyright (c)
 */

/**

 * User: seeker910
 * Date: 13-10-13
 * Time: 上午6:40

 */
Rsd.define('Rsd.zen.page.WelcomePage', {
    extend: 'Rsd.container.Page',
    requires:['Rsd.form.Image'],
    xtype: 'p_welcome',
    layout: {type:'vbox',align:'center'},
    title: 'welcome',
    selected:true,
    backgroundImage:null, 
    items: [
        { 
            width: '100%',
            flex:200,
        },
        {
            xtype: 'image',
            region:'center',
            height:200, 
            width: 200,
            readonly:true,
            border: false,
            src: './redjs/resources/images/LOGO.PNG'
        },
        { 
            width: '100%',
            flex:300,
        }
    ],
    /*
    * */
    constructor: function WelcomePage(config) {
        config = config || {};
        this.apply(config);
        this.items[1].src = this.backgroundImage||Rsd.emptyImage();
    }
});